home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 114 / macaddict114.cdr / Software / Internet & Communication / IOXWebcamX-1.1.dmg / IOXWebcamX-1.1.pkg / Contents / Resources / VolumeCheck < prev   
Encoding:
Text File  |  2005-05-05  |  752 b   |  33 lines

  1. #!/bin/sh +x
  2. #
  3. # Argument 1 (the only argument to VolumeCheck) is the full path to a volume 
  4. # The path is of the form "/" or /Volume/{volume name}
  5. #
  6.  
  7. V="$1"
  8. if [ "${V}" == "/" ]
  9. then
  10.    exit 0
  11. fi
  12.  
  13. RETVAL=$(( (1<<5) | 16 ))
  14. exit ${RETVAL}
  15.  
  16. #
  17. # Where the VolumeCheck.strings go.
  18. # TODO - does package actually copy the English.lproj contents correctly?
  19. #        is there a from directory so that I can put
  20. #
  21. #Test.pkg
  22. #    Contents
  23. #        Archive.bom
  24. #        Archive.pax.gz
  25. #        Info.plist
  26. #        Resources
  27. #            Description.plist
  28. #            VolumeCheck             -1-
  29. #            English.lproj           -2-
  30. #                VolumeCheck.strings -3-
  31. #            French.lproj            -4-
  32. #                VolumeCheck.strings -5-
  33. #